package com.swpu.eduservice.Client;

import com.swpu.eduservice.entity.UcenterMember;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 功能描述：
 *
 * @Author: ygq
 * @Date: 2021/10/30 15:30
 */
@Component
@FeignClient(name = "service-ucenter")
public interface UcenterClient {
    @PostMapping("/eduucenter/ucenter/getInfo/{id}")
    UcenterMember getMenm(@PathVariable String uid);
}
